<html>
<head><meta charset="utf-8"><title>Switch JSON serialization from rustc_seri… compiler-team#418 · t-compiler/major changes · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/index.html">t-compiler/major changes</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418.html">Switch JSON serialization from rustc_seri… compiler-team#418</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="230524661"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Switch%20JSON%20serialization%20from%20rustc_seri%E2%80%A6%20compiler-team%23418/near/230524661" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418.html#230524661">(Mar 16 2021 at 14:46)</a>:</h4>
<p>A new proposal has been announced: <a href="https://github.com/rust-lang/compiler-team/issues/418">Switch JSON serialization from rustc_serialize to serde #418</a>. It will be announced at the next meeting to try and draw attention to it, but usually MCPs are not discussed during triage meetings. If you think this would benefit from discussion amongst the team, consider proposing a design meeting.</p>



<a name="230524951"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Switch%20JSON%20serialization%20from%20rustc_seri%E2%80%A6%20compiler-team%23418/near/230524951" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418.html#230524951">(Mar 16 2021 at 14:48)</a>:</h4>
<p>just for background, <span class="user-mention silent" data-user-id="119009">eddyb</span> brought this up while reviewing <a href="https://github.com/rust-lang/rust/pull/83197">https://github.com/rust-lang/rust/pull/83197</a></p>



<a name="230525390"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Switch%20JSON%20serialization%20from%20rustc_seri%E2%80%A6%20compiler-team%23418/near/230525390" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418.html#230525390">(Mar 16 2021 at 14:50)</a>:</h4>
<p><span class="user-group-mention" data-user-group-id="492">@T-compiler</span>: Proposal <a href="https://github.com/rust-lang/compiler-team/issues/418#issuecomment-800325229">#418</a> has been seconded, and will be approved in 10 days if no objections are raised.</p>



<a name="230526713"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Switch%20JSON%20serialization%20from%20rustc_seri%E2%80%A6%20compiler-team%23418/near/230526713" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418.html#230526713">(Mar 16 2021 at 14:57)</a>:</h4>
<p><span class="user-mention silent" data-user-id="232545">Joshua Nelson</span> <a href="#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418/near/230524951">said</a>:</p>
<blockquote>
<p>just for background, <span class="user-mention silent" data-user-id="119009">eddyb</span> brought this up while reviewing <a href="https://github.com/rust-lang/rust/pull/83197">https://github.com/rust-lang/rust/pull/83197</a></p>
</blockquote>
<p>it also came up during <a href="https://github.com/rust-lang/rust/issues/83160">#83160</a>, yesterday</p>



<a name="230529902"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Switch%20JSON%20serialization%20from%20rustc_seri%E2%80%A6%20compiler-team%23418/near/230529902" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418.html#230529902">(Mar 16 2021 at 15:13)</a>:</h4>
<p>I <em>really</em> want to rename our stuff so it looks <em>nothing</em> like the deprecated <code>rustc-serialize</code></p>



<a name="230530049"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Switch%20JSON%20serialization%20from%20rustc_seri%E2%80%A6%20compiler-team%23418/near/230530049" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418.html#230530049">(Mar 16 2021 at 15:14)</a>:</h4>
<p>probably the overall plan should be to move to <code>serde</code> for all of the e.g. JSON stuff, then shrink the API massively</p>



<a name="230530305"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Switch%20JSON%20serialization%20from%20rustc_seri%E2%80%A6%20compiler-team%23418/near/230530305" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418.html#230530305">(Mar 16 2021 at 15:15)</a>:</h4>
<p>since what all of the compiler data (incremental caches and <code>.rmeta</code>) needs is a flat stream of integers</p>



<a name="230530382"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Switch%20JSON%20serialization%20from%20rustc_seri%E2%80%A6%20compiler-team%23418/near/230530382" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418.html#230530382">(Mar 16 2021 at 15:15)</a>:</h4>
<p>and the resulting traits can be so small they can live in <code>rustc_data_structures</code></p>



<a name="233668850"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Switch%20JSON%20serialization%20from%20rustc_seri%E2%80%A6%20compiler-team%23418/near/233668850" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Switch.20JSON.20serialization.20from.20rustc_seri.E2.80.A6.20compiler-team.23418.html#233668850">(Apr 08 2021 at 15:03)</a>:</h4>
<p>This proposal has been accepted: <a href="https://github.com/rust-lang/compiler-team/issues/418">#418</a>.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>